Removed 13 Sentinels: Aegis Rim from wishlist #27
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 Arisamiga branch to Pages | |
on: | |
push: | |
branches: ["Arisamiga"] | |
workflow_dispatch: | |
permissions: | |
contents: write | |
pages: write | |
id-token: write | |
concurrency: | |
group: "pages-arisamiga" | |
cancel-in-progress: false | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Arisamiga branch | |
uses: actions/checkout@v4 | |
with: | |
ref: Arisamiga | |
- name: Setup Git | |
run: | | |
git config --global user.name 'Arisamiga' | |
git config --global user.email '${{ secrets.EMAIL }}' | |
- name: Checkout gh-pages branch | |
env: | |
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
run: | | |
git clone --depth 1 --branch gh-pages https://x-access-token:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/${{ github.repository }} gh-pages | |
- name: Copy contents to root folder | |
run: | | |
rsync -av --delete ./Website/ gh-pages/Website/ | |
- name: Commit and push changes | |
run: | | |
cd gh-pages | |
git add . | |
if [ -n "$(git status --porcelain)" ]; then | |
git commit -m "Deploy Arisamiga branch" | |
git push origin gh-pages | |
else | |
echo "No changes to commit" | |
fi |