Merge pull request #26 from tkgnm/add-workflow-to-cache-urls #2
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: Hit URLs with Curl | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
curl_urls: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Wait for 2 minutes | |
run: | | |
sleep 30s | |
- name: Execute curl script | |
run: | | |
chmod +x script.sh | |
./script.sh |