Update templates
This commit is contained in:
@@ -10,7 +10,7 @@ jobs:
|
|||||||
- name: Set up Git repository
|
- name: Set up Git repository
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
- name: Sign into gitea registry
|
- name: Sign into gitea registry
|
||||||
uses: https://github.com/docker/login-action@v3
|
uses: actions/docker-login@v3
|
||||||
with:
|
with:
|
||||||
username: ${{ vars.REGISTRY_USER_USERNAME }}
|
username: ${{ vars.REGISTRY_USER_USERNAME }}
|
||||||
password: ${{ secrets.REGISTRY_USER_PASSWORD }}
|
password: ${{ secrets.REGISTRY_USER_PASSWORD }}
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
# NOTE: This is still WIP
|
|
||||||
on: push
|
on: push
|
||||||
name: Run an npm build
|
name: Run an npm build
|
||||||
jobs:
|
jobs:
|
||||||
@@ -8,8 +7,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Pull repo
|
- name: Pull repo
|
||||||
uses: actions/checkout@v6
|
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
|
- name: Run node build
|
||||||
uses: actions/node-action@main
|
uses: actions/npm-action@main
|
||||||
with:
|
with:
|
||||||
script: 'path/to/script'
|
script: 'path/to/script'
|
||||||
- name: Upload built files
|
- name: Upload built files
|
||||||
|
|||||||
+7
-1
@@ -9,10 +9,16 @@ jobs:
|
|||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
ref: main
|
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
|
- name: Run node build
|
||||||
uses: actions/node-action@main
|
uses: actions/node-action@main
|
||||||
with:
|
with:
|
||||||
script: 'path/to/script'
|
script: 'relative/path/to/script'
|
||||||
- name: Upload built files
|
- name: Upload built files
|
||||||
uses: actions/git-auto-commit-action@v7
|
uses: actions/git-auto-commit-action@v7
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user