Skip to content

Commit

Permalink
Update publish-on-release.yml
Browse files Browse the repository at this point in the history
## Done
- Added a publish-website job to update the production website whenever there's a successful release.
  • Loading branch information
samhotep authored and bartaz committed Sep 12, 2023
1 parent 8e32287 commit 60159fe
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/publish-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,13 @@ jobs:
run: upload-assets --url-path vanilla-framework-version-$(cat css/VANILLA_VERSION).min.css css/build.css
env:
UPLOAD_ASSETS_API_TOKEN: ${{secrets.UPLOAD_ASSETS_API_TOKEN}}

publish-website:
name: Publish to the production website
needs: [publish-assets]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Push to release branch
run: |
git push origin/release

0 comments on commit 60159fe

Please sign in to comment.