Skip to content

Update serwery.txt

Update serwery.txt #23

name: Update serwery.txt
on:
push:
branches:
- main
pull_request:
types:
- closed
schedule:
- cron: "0 0 * * 0"
jobs:
update-serwery:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Download serwery.txt
run: |
wget -O serwery.txt https://mikr.us/serwery.txt
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
if [[ "$(git status --porcelain)" != "" ]]; then
git add serwery.txt
git commit -m "Update serwery.txt"
git push
else
echo "Nothing to commit."
fi