Skip to content

Commit

Permalink
go back to using the built in deploy from branch
Browse files Browse the repository at this point in the history
  • Loading branch information
knzai committed Jul 1, 2024
1 parent 63dfbf7 commit 2476a0f
Showing 1 changed file with 1 addition and 29 deletions.
30 changes: 1 addition & 29 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,32 +14,4 @@ jobs:
- name: Build and deploy
uses: shalzz/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload artifact
id: upload-artifact
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.name }}
path: public/artifact.tar
retention-days: ${{ inputs.retention-days }}
if-no-files-found: error
deploy:
# Add a dependency to the build job
needs: build

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2476a0f

Please sign in to comment.