Skip to content

Commit

Permalink
Publish first
Browse files Browse the repository at this point in the history
  • Loading branch information
rlepinski committed Mar 7, 2024
1 parent f1469b2 commit aa1e744
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,6 @@ jobs:
service_account_email: ${{ secrets.GCP_SA_EMAIL }}
service_account_key: ${{ secrets.GCP_SA_KEY }}

- name: Docs
run: |
cd cordova-airship/
npm ci
npm run generate-docs
cd -
bash ./scripts/upload_docs.sh ${GITHUB_REF/refs\/tags\//} ./cordova-airship/docs
- name: Publish modules
run: |
cd cordova-airship/
Expand All @@ -88,6 +80,16 @@ jobs:
cd -
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

- name: Docs
run: |
cd cordova-airship/
npm ci
npm run generate-docs
cd -
bash ./scripts/upload_docs.sh ${GITHUB_REF/refs\/tags\//} ./cordova-airship/docs
- name: Github Release
id: create_release
uses: softprops/action-gh-release@v1
Expand All @@ -99,12 +101,14 @@ jobs:
body: ${{ steps.get_release_notes.outputs.NOTES }}
draft: false
prerelease: false

- name: Slack Notification
uses: lazy-actions/slatify@master
with:
type: ${{ job.status }}
job_name: "Airship Cordova Plugin Released!"
url: ${{ secrets.SLACK_WEBHOOK }}

- name: Slack Notification
uses: lazy-actions/slatify@master
if: failure()
Expand Down

0 comments on commit aa1e744

Please sign in to comment.