Skip to content

fix: plugin setting doesn't show #35

fix: plugin setting doesn't show

fix: plugin setting doesn't show #35

Workflow file for this run

name: Sync archive folder
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Zip archive folder
run: |
zip -r ../archive.zip ./addons/panku_console
- name: Create commit hash file
run: |
echo $GITHUB_SHA > ../COMMIT_SHA
- name: Get commit info
run: |
MSG=$(git log -1 --pretty=%B)
LINK=https://github.com/Ark2000/PankuConsole/commit/
echo "SYNC: $MSG ($LINK$GITHUB_SHA)" >> ../COMMIT_MSG
- name: Extract archive
uses: actions/checkout@v2
with:
repository: Ark2000/panku_console
token: ${{ secrets.TOKEN }}
- run: |
rm -rf *
unzip ../archive.zip
cp -r addons/panku_console/* ./
cp ../COMMIT_SHA ./
rm -rf addons
ls -a
- name: Commit and push
run: |
git config user.name k2kra
git config user.email [email protected]
git add .
git commit -m "$(cat ../COMMIT_MSG))"
git push
echo "git push output: $?"