Compare commits
No commits in common. "430d0aa8458fd95941de5cf2cce055723f997889" and "e836c4264a9dd5dd381404e41493177027a5e7ff" have entirely different histories.
430d0aa845
...
e836c4264a
|
@ -1,24 +0,0 @@
|
|||
name: Beta Deploy
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- beta-release
|
||||
|
||||
jobs:
|
||||
Compile-Plate-Tool:
|
||||
runs-on: linux_arm
|
||||
steps:
|
||||
- name: Check out repo code
|
||||
uses: https://github.com/actions/checkout@v4
|
||||
with:
|
||||
ref: "beta-release"
|
||||
- name: Compile plate-tool
|
||||
run: |
|
||||
. "$HOME/.cargo/env"
|
||||
trunk build --release --public-url "cool-stuff/plate-tool-beta/"
|
||||
- name: Transfer files to host server
|
||||
run: |
|
||||
sftp oracle <<< "put -r dist"
|
||||
- name: Deploy plate-tool-beta on host server
|
||||
run: |
|
||||
ssh oracle "sudo rm -rf /usr/share/nginx/html/plate-tool-beta/ && sudo mv dist /usr/share/nginx/html/plate-tool-beta"
|
|
@ -5,9 +5,6 @@ pipeline {
|
|||
}
|
||||
|
||||
stages {
|
||||
stage('Parent') {
|
||||
when { anyOf { branch 'main'; branch 'beta-release' } }
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh '''
|
||||
|
@ -35,8 +32,6 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
cleanWs(notFailBuild: true,
|
||||
|
|
Loading…
Reference in New Issue