mirror of
https://github.com/StikDebug/StikDebug.git
synced 2026-10-15 12:02:14 +00:00
ci: update website source workflow
This commit is contained in:
parent
30cfa58785
commit
cf4108fc2c
1 changed files with 5 additions and 7 deletions
12
.github/workflows/updatesource.yml
vendored
12
.github/workflows/updatesource.yml
vendored
|
|
@ -32,13 +32,11 @@ jobs:
|
|||
echo "Timed out waiting for Build Debug IPA."
|
||||
exit 1
|
||||
|
||||
- name: Checkout Website-Stuff
|
||||
- name: Checkout StikDebug
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
repository: StephenDev0/Website-Stuff
|
||||
ref: main
|
||||
path: Website-Stuff
|
||||
token: ${{ secrets.WEBSITE_STUFF_TOKEN }}
|
||||
token: ${{ secrets.WEBSITE_TOKEN }}
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
|
|
@ -47,7 +45,7 @@ jobs:
|
|||
|
||||
- name: Update StikDebug source
|
||||
id: update_source
|
||||
working-directory: Website-Stuff
|
||||
working-directory: Website
|
||||
run: |
|
||||
git config --global user.name 'GitHub Action'
|
||||
git config --global user.email 'action@github.com'
|
||||
|
|
@ -67,8 +65,8 @@ jobs:
|
|||
run: |
|
||||
if [[ "${{ steps.update_source.outputs.changes }}" == "true" ]]; then
|
||||
echo "## StikDebug source updated" >> $GITHUB_STEP_SUMMARY
|
||||
echo "Website-Stuff/index.json was updated and pushed." >> $GITHUB_STEP_SUMMARY
|
||||
echo "Website/index.json was updated and pushed." >> $GITHUB_STEP_SUMMARY
|
||||
else
|
||||
echo "## StikDebug source already current" >> $GITHUB_STEP_SUMMARY
|
||||
echo "No change to Website-Stuff/index.json was needed." >> $GITHUB_STEP_SUMMARY
|
||||
echo "No change to Website/index.json was needed." >> $GITHUB_STEP_SUMMARY
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue