Skip to content

Update custom_script.yml #19

Update custom_script.yml

Update custom_script.yml #19

Workflow file for this run

name: Run Custom Script
on:
push:
branches:
- master
jobs:
run_script:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Run custom script
run: |
#cd path/to/script/directory
#echo "Hello World!"
# 执行脚本文件
echo ${{ vars.APIFOXPROJECTID}} #仓库的变量
echo ${{ secrets.APITOKEN }} #仓库密钥
echo ${{ vars.TESTSKEY }} # 测试不存在的vars会发生什么
sudo sh ./hello.sh