Skip to content

update md

update md #11

Workflow file for this run

name: Update Instance
on:
workflow_dispatch:
push:
branches:
- main
paths:
- profile/**
- .github/workflows/instance.yml
jobs:
update-instance:
runs-on: ubuntu-latest
permissions:
pages: write
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Zip profile directory
run: zip -r profile.zip profile/
- run: |
mkdir public
mv profile.zip public/
cp public/profile.zip "public/Modfest 1.20 - Sky and Sea.zip"
- name: Publish to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: public
publish_branch: gh-pages
destination_dir: content
keep_files: true
commit_message: "Publish profile to GitHub Pages"