Update custom_script.yml #13
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: 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!" | |
# 执行脚本文件 | |
sudo sh ./hello.sh |