Skip to content

Commit

Permalink
Update GitHub Release CI
Browse files Browse the repository at this point in the history
  • Loading branch information
SSoelvsten committed Sep 1, 2023
1 parent 05db396 commit aa087f8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,18 @@ jobs:
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ steps.date.outputs.date }}
release_name: Release ${{ steps.date.outputs.date }}
draft: false
prerelease: false

- name: Upload overleaf.zip
id: upload-release-asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
GITHUB_TOKEN: {{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./overleaf.zip
Expand All @@ -64,8 +64,8 @@ jobs:
persist-credentials: false

- name: Deploy to preamble-only
uses: JamesIves/github-pages-deploy-action@releases/v3
uses: JamesIves/github-pages-deploy-action@v4
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: preamble-only
FOLDER: preamble
token: ${{ secrets.GITHUB_TOKEN }}
branch: preamble-only
folder: preamble

0 comments on commit aa087f8

Please sign in to comment.