Merge pull request #10 from ntdesmond/layout_fix #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and deploy Webpack | |
on: | |
push: | |
branches: [master] | |
# Allow one concurrent deployment | |
concurrency: | |
group: 'deploy-pages' | |
cancel-in-progress: true | |
jobs: | |
setup-pages: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Github Pages | |
uses: actions/configure-pages@v3 | |
# Reuse build.yml workflow | |
build: | |
uses: ./.github/workflows/build.yml | |
deploy: | |
needs: build | |
runs-on: ubuntu-latest | |
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 }} | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v1 |