-
Notifications
You must be signed in to change notification settings - Fork 295
Expand file tree
/
Copy pathlinux-ssh.yml
More file actions
29 lines (27 loc) · 861 Bytes
/
Copy pathlinux-ssh.yml
File metadata and controls
29 lines (27 loc) · 861 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Ubuntu ssh Virtual Machine
on:
workflow_dispatch:
defaults:
run:
shell: bash
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.5.2
# - name: If failed, means ok
# run: ./not-exist-file.sh it bloke build
- name: Preparing Linux Environment
run: sudo apt-get update
- name: Setting Up the Ubuntu Environment
# if: ${{ failure() }}
run: bash linux-ssh.sh
env:
LINUX_USER_PASSWORD: ${{ secrets.LINUX_USER_PASSWORD }}
NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }}
CHROME_HEADLESS_CODE: ${{ secrets.CHROME_HEADLESS_CODE }}
LINUX_MACHINE_NAME: ${{ secrets.LINUX_MACHINE_NAME }}
LINUX_USERNAME: ${{ secrets.LINUX_USERNAME }}
- name: Keep Running Ubuntu System and keepAlive
# if: ${{ failure() }}
run: sleep 6h