mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
[apps-v2]: updated to push beta(nightly) updates to sources
This commit is contained in:
57
.github/workflows/nightly.yml
vendored
57
.github/workflows/nightly.yml
vendored
@@ -249,37 +249,36 @@ jobs:
|
|||||||
echo "LOCALIZED_DESCRIPTION=This is nightly release for revision: ${{ github.sha }}" >> $GITHUB_ENV
|
echo "LOCALIZED_DESCRIPTION=This is nightly release for revision: ${{ github.sha }}" >> $GITHUB_ENV
|
||||||
echo "DOWNLOAD_URL=https://github.com/SideStore/SideStore/releases/download/nightly/SideStore.ipa" >> $GITHUB_ENV
|
echo "DOWNLOAD_URL=https://github.com/SideStore/SideStore/releases/download/nightly/SideStore.ipa" >> $GITHUB_ENV
|
||||||
|
|
||||||
# - name: Checkout SideStore/apps-v2.json
|
- name: Checkout SideStore/apps-v2.json
|
||||||
# if: ${{ steps.check_publish.outcome == 'success' }}
|
if: ${{ steps.check_publish.outcome == 'success' }}
|
||||||
# uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
# with:
|
with:
|
||||||
# # Repository name with owner. For example, actions/checkout
|
# Repository name with owner. For example, actions/checkout
|
||||||
# # Default: ${{ github.repository }}
|
# Default: ${{ github.repository }}
|
||||||
# repository: 'SideStore/apps-v2.json'
|
repository: 'SideStore/apps-v2.json'
|
||||||
# # ref: 'main' # TODO: use branches for alpha and beta tracks? so as to avoid push collision?
|
# ref: 'main' # TODO: use branches for alpha and beta tracks? so as to avoid push collision?
|
||||||
# ref: 'nightly' # TODO: use branches for alpha and beta tracks? so as to avoid push collision?
|
ref: 'nightly' # TODO: use branches for alpha and beta tracks? so as to avoid push collision?
|
||||||
# # token: ${{ github.token }}
|
# token: ${{ github.token }}
|
||||||
# token: ${{ secrets.APPS_DEPLOY_KEY }}
|
token: ${{ secrets.APPS_DEPLOY_KEY }}
|
||||||
# path: 'SideStore/apps-v2.json'
|
path: 'SideStore/apps-v2.json'
|
||||||
|
|
||||||
# - name: Publish to SideStore/apps-v2.json
|
- name: Publish to SideStore/apps-v2.json
|
||||||
# if: ${{ steps.check_publish.outcome == 'success' }}
|
if: ${{ steps.check_publish.outcome == 'success' }}
|
||||||
# run: |
|
run: |
|
||||||
# # Copy and execute the update script
|
# Copy and execute the update script
|
||||||
# pushd SideStore/apps-v2.json/
|
pushd SideStore/apps-v2.json/
|
||||||
|
|
||||||
# # Configure Git user (committer details)
|
# Configure Git user (committer details)
|
||||||
# git config user.name "GitHub Actions"
|
# git config user.name "GitHub Actions"
|
||||||
# git config user.email "github-actions@github.com"
|
# git config user.email "github-actions@github.com"
|
||||||
|
|
||||||
# # Make the update script executable and run it
|
# update the source.json
|
||||||
# python3 ../../update_apps.py "./_includes/source.json"
|
python3 ../../update_apps.py "./_includes/source.json"
|
||||||
|
|
||||||
# # Commit changes and push using SSH
|
# Commit changes and push using SSH
|
||||||
# git add ./_includes/source.json
|
git add ./_includes/source.json
|
||||||
# git commit -m " - updated for $SHORT_COMMIT deployment" || echo "No changes to commit"
|
git commit -m " - updated for $SHORT_COMMIT deployment" || echo "No changes to commit"
|
||||||
|
|
||||||
# git status
|
git status
|
||||||
# # git push origin HEAD:main
|
git push origin HEAD:nightly
|
||||||
# git push origin HEAD:nightly
|
popd
|
||||||
# popd
|
|
||||||
|
|||||||
Reference in New Issue
Block a user