Skip to content

test

test #3

Workflow file for this run

name: Crawl
on:
push:
branches:
- master
jobs:
generate_random_string:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v2
- name: Generate random string
id: random_string
run: echo "RANDOM_STRING=$(openssl rand -hex 16)" >> date.txt
- name: Print random string
run: echo "${{ steps.random_string.outputs.RANDOM_STRING }}"
- name: Push to Github
run: |
git add ./date.txt
git config --global user.name "Zain-ul-din"
git config --global user.email "[email protected]"
git remote set-url --push origin https://Zain-ul-din:${{secrets.GITHUB_TOKEN}}@github.com/Zain-ul-din/lgu-crawler
git commit -m "updated: date.txt"
git push origin master
echo "done"