Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
deploy job
deploy:
needs: test-and-build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Download build artifacts
uses: actions/download-artifact@v2
with:
name: build-artifacts
path: dist/gh-actions-example
- name: Deploy to gh-pages branch
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
branch: gh-pages
folder: dist/gh-actions-example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment