This repository has been archived by the owner on May 28, 2024. It is now read-only.
Update README.md #748
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: Eleventy Build and deployt to gh-pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build_deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Install | |
run: | | |
npm install | |
npm run build | |
- name: Deploy | |
uses: peaceiris/[email protected] | |
env: | |
PUBLISH_DIR: _site | |
PUBLISH_BRANCH: gh-pages | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |