-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (38 loc) · 1.14 KB
/
manual.yml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Manual
on: workflow_dispatch
env:
DAY_OF_WEEK: Monday
jobs:
build:
runs-on: ubuntu-latest
env:
Greeting: Hello
steps:
- name: Checkout
uses: actions/checkout@v4
- name: list
run: ls .
- run: echo ${{ github.ref_name }}
- name: "Say Hello Mona it's Monday"
run: |
echo "$Greeting $First_Name. Today is $DAY_OF_WEEK!"
echo "${{ env.Greeting }} ${{ env.First_Name }}. Today is ${{ env.DAY_OF_WEEK }}!"
echo "${{ env.DEMO_Y }} ${{ vars.VAR_Z}}"
env:
First_Name: Mona
- name: =
env: # Or as an environment variable
ftp_pass: ${{ secrets.FTP_PASSWORD }}
ftp_user: ${{ secrets.FTP_USERNAME }}
run: |
echo "${{ env.ftp_pass }}, ${{ env.ftp_user }}" > some.txt
cat some.txt
- name: 📂 Sync files
uses: SamKirkland/[email protected]
with:
server: spbot.xeltek.com.cn
port: 10086
username: ftp_spbot
server-dir: dists/superpro-sb09/
local-dir: ./
password: ${{ secrets.ftp_password }}