This repository has been archived by the owner on Jul 25, 2024. It is now read-only.
Automatic deploy from https://github.com/hufilter/hufilter-dev/commit… #1
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: | |
- master | |
paths: | |
- hufilter*.txt | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Check out to repository | |
uses: actions/checkout@v4 | |
- name: Make gh-pages folder | |
run: mkdir gh-pages | |
- name: Copy .txt files with hufilter prefix to gh-pages folder | |
run: cp hufilter*.txt gh-pages/ | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./gh-pages |