[CI] Bump backend image tag to db784029c115e61d8996b1142dfd76297b2403d4 #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Frontend deploy | ||
on: | ||
push: | ||
branches: | ||
- main | ||
path: | ||
- 'build./**" | ||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- name: scp | ||
uses: cross-the-world/ssh-scp-ssh-pipelines@v1.1.4 | ||
env: | ||
BUILD_DIR: "~/tpc_portal/build" | ||
with: | ||
host: ${{ secrets.DC_HOST }} | ||
user: ${{ secrets.DC_USER }} | ||
pass: ${{ secrets.DC_PASS }} | ||
first_ssh: | | ||
rm -rf $BUILD_DIR/* || mkdir -p $BUILD_DIR | ||
scp: | | ||
'./build/*' => $BUILD_DIR |