diff --git a/.github/workflows/init.yml b/.github/workflows/init.yml new file mode 100644 index 0000000..af13c68 --- /dev/null +++ b/.github/workflows/init.yml @@ -0,0 +1,26 @@ +name: bubblewrap-init-and-commit +on: + workflow_dispatch: + push: +permissions: write-all +jobs: + build-push: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + token: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/setup-node@v4 + with: + node-version: '22' + - name: Install Bubblewrap + run: npm install -g @bubblewrap/cli + - name: Run bubblewrap init + run: | + bubblewrap init --manifest="https://sune.planetrenox.com/manifest.webmanifest" --packageId="com.planetrenox.sune" --name="Sune" + - run: | + git config user.name "github-actions" + git config user.email "github-actions@github.com" + git add . + git commit -m "This build was committed by a bot." + git push