Skip to content

Commit

Permalink
chore: Fixing workflow usage
Browse files Browse the repository at this point in the history
  • Loading branch information
niyajali committed Nov 29, 2024
1 parent 2c397a7 commit 802a84b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build_and_publish_on_platforms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ jobs:
- name: Move APK to build directory
run: |
mkdir -p ./mifospay-android/build/outputs/apk/prod/release/
mv ./android-artifacts/mifospay-android-prod-release.apk ./mifospay-android/build/outputs/apk/prod/release/
mv ./android-artifacts/prod/release/mifospay-android-prod-release.apk ./mifospay-android/build/outputs/apk/prod/release/
mv ./changelogBeta ./mifospay-android/build/outputs/
Expand Down Expand Up @@ -415,6 +415,9 @@ jobs:
needs: [ build_web ]
if: inputs.publish_web
runs-on: ubuntu-latest
permissions:
id-token: write
pages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/make_site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
Expand All @@ -25,6 +19,10 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: windows-latest
permissions:
contents: read
pages: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
Expand Down

0 comments on commit 802a84b

Please sign in to comment.