Skip to content

Commit

Permalink
D156: Create pipeline for release-23.1 (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
hiro727 authored Oct 7, 2022
1 parent 3a8b6eb commit e2f20fb
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ jobs:
retention-days: 7

- name: Get Bot Application Token
if: github.event_name == 'push' && github.ref == 'refs/heads/develop'
if: github.event_name == 'push' && github.ref == 'refs/heads/release-23.1'
id: get_workflow_token
uses: peter-murray/workflow-application-token-action@v1
with:
application_id: ${{ secrets.BOT_APPLICATION_ID }}
application_private_key: ${{ secrets.BOT_APPLICATION_PRIVATE_KEY }}

- name: Deploy
if: github.event_name == 'push' && github.ref == 'refs/heads/develop'
if: github.event_name == 'push' && github.ref == 'refs/heads/release-23.1'
uses: JamesIves/[email protected]
with:
repository-name: pyansys/pyedb-dev-docs
Expand Down Expand Up @@ -127,10 +127,18 @@ jobs:
run: |
cd dist
zip -r pyedb.zip *
- name: Upload libraries
- name: Upload develop libraries
if: github.event_name == 'push' && github.ref == 'refs/heads/develop'
uses: actions/upload-artifact@v2
with:
name: pyedb
path: dist/pyedb.zip
retention-days: 14
- name: Upload libraries
if: github.event_name == 'push' && startsWith(github.ref, 'refs/heads/release-')
uses: actions/upload-artifact@v2
with:
name: pyedb
path: dist/pyedb.zip
retention-days: 90

0 comments on commit e2f20fb

Please sign in to comment.