Merge pull request #73 from robotpy/multiple-template-declarations #32
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
# deploy to github pages | |
name: Build and Deploy | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
concurrency: ci-${{ github.ref }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Build | |
run: | | |
echo "__version__ = '$(git describe --tags)'" > cxxheaderparser/version.py | |
mkdir build | |
cp -r cxxheaderparser build | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4.3.3 | |
with: | |
branch: gh-pages | |
folder: build | |
clean: true | |
clean-exclude: | | |
.nojekyll | |
index.html | |
_index.py |