Update workflow
This commit is contained in:
@@ -6,12 +6,15 @@ on:
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
runs-on: build-server
|
||||
runs-on: portal-builder
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
run: |
|
||||
git clone ssh://git@gitea.radiantwavetech.com:2222/RadiantWaveTech/portal.git .
|
||||
rm -rf ./* ./.[!.]* 2>/dev/null || true
|
||||
git config --global http.extraheader "Authorization: token ${{ github.token }}"
|
||||
git clone --branch "${{ gitea.ref_name }}" \
|
||||
"${{ gitea.server_url }}/${{ gitea.repository }}.git" .
|
||||
|
||||
- name: Build image
|
||||
run: |
|
||||
@@ -34,12 +37,15 @@ jobs:
|
||||
|
||||
migrate:
|
||||
needs: build-and-push
|
||||
runs-on: build-server
|
||||
runs-on: portal-builder
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
run: |
|
||||
git clone ssh://git@gitea.radiantwavetech.com:2222/RadiantWaveTech/portal.git .
|
||||
rm -rf ./* ./.[!.]* 2>/dev/null || true
|
||||
git config --global http.extraheader "Authorization: token ${{ github.token }}"
|
||||
git clone --branch "${{ gitea.ref_name }}" \
|
||||
"${{ gitea.server_url }}/${{ gitea.repository }}.git" .
|
||||
|
||||
- name: Setup Node
|
||||
uses: https://github.com/actions/setup-node@v4
|
||||
|
||||
Reference in New Issue
Block a user