Skip to content

Commit

Permalink
Update platform pages on push (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
turikhay authored Jan 20, 2024
1 parent 6f39abe commit b49cb51
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/update-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Upload pages

on:
workflow_dispatch:
push:
branches:
- main

jobs:
upload:
name: Upload pages
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
HANGAR_TOKEN: ${{ secrets.HANGAR_TOKEN }}
UPDATE_PAGES: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Run the build
run: |
./gradlew \
modrinthSyncBody \
publishPluginPublicationToHangar

0 comments on commit b49cb51

Please sign in to comment.