change html just to see if deploy works #79
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
# Made by Isaac Van Doren. Source at https://github.com/isaacvando/elm-to-gh-pages. | |
name: Deploy an Elm app to GitHub Pages | |
on: | |
# Runs on pushes targeting the default branch | |
push: | |
branches: ["main"] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | |
# Cancel current deployment when a new push occurs | |
concurrency: | |
group: "pages" | |
cancel-in-progress: false | |
jobs: | |
build-and-deploy: | |
environment: | |
name: github-pages | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
concurrency: ci-${{ github.ref }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
- uses: bahmutov/npm-install@v1 | |
- run: npx vite build | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: dist |