diff --git a/latex/latex-compile.yml b/latex/latex-compile.yml index 8c7065f..12476bb 100644 --- a/latex/latex-compile.yml +++ b/latex/latex-compile.yml @@ -10,7 +10,7 @@ jobs: - name: Set up Git repository uses: actions/checkout@v6 - name: Sign into gitea registry - uses: https://github.com/docker/login-action@v3 + uses: actions/docker-login@v3 with: username: ${{ vars.REGISTRY_USER_USERNAME }} password: ${{ secrets.REGISTRY_USER_PASSWORD }} diff --git a/node/advanced-build.yml b/node/advanced-build.yml index 133db2e..5909da5 100644 --- a/node/advanced-build.yml +++ b/node/advanced-build.yml @@ -1,4 +1,3 @@ -# NOTE: This is still WIP on: push name: Run an npm build jobs: @@ -8,8 +7,16 @@ jobs: steps: - name: Pull repo uses: actions/checkout@v6 + with: + ref: main + - name: Sign into gitea registry + uses: actions/docker-login@v3 + with: + username: ${{ vars.REGISTRY_USER_USERNAME }} + password: ${{ secrets.REGISTRY_USER_PASSWORD }} + registry: ${{ vars.REGISTRY_BASE_URL }} - name: Run node build - uses: actions/node-action@main + uses: actions/npm-action@main with: script: 'path/to/script' - name: Upload built files diff --git a/node/node-build.yml b/node/node-build.yml index 227aa11..c0fba0b 100644 --- a/node/node-build.yml +++ b/node/node-build.yml @@ -9,10 +9,16 @@ jobs: uses: actions/checkout@v6 with: ref: main + - name: Sign into gitea registry + uses: actions/docker-login@v3 + with: + username: ${{ vars.REGISTRY_USER_USERNAME }} + password: ${{ secrets.REGISTRY_USER_PASSWORD }} + registry: ${{ vars.REGISTRY_BASE_URL }} - name: Run node build uses: actions/node-action@main with: - script: 'path/to/script' + script: 'relative/path/to/script' - name: Upload built files uses: actions/git-auto-commit-action@v7 with: