V3.12 Specification Implementation (#48) #80
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: Deploy to GitHub Pages | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build-deploy: | |
runs-on: ubuntu-latest | |
name: Copy Markdown Files to gh_pages | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- name: Build Deploment Folder 🔧 | |
run: | | |
sudo mkdir -p /publish | |
sudo mkdir -p /publish/docs | |
sudo mkdir -p /publish/images | |
sudo cp -R ./images /publish | |
sudo cp README.md /publish | |
sudo cp _config.yml /publish/_config.yml | |
sudo cp ./docs/features.md /publish/docs/features.md | |
- name: Deploy Markdown Files 🚀 | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: /publish | |
destination_dir: . | |
enable_jekyll: true |