Skip to content

Commit

Permalink
Add robotcuk
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtrkmn authored Mar 23, 2021
1 parent 051a0e1 commit d10566d
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/download-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,26 @@ jobs:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"


- name: Empty commit push
run: |
git config --global user.email "robotcuk@randommail.com"
git config --global user.name "robotcuk"
git commit --allow-empty -m "MaxMind Files Updated: ${{ steps.date.outputs.date }}"
git tag -a ${{ steps.date.outputs.date }} -m "Database Update: ${{ steps.date.outputs.date }}"
git push origin ${{ steps.date.outputs.date }}
git push origin -f master
env:
GITHUB_TOKEN: ${{ secrets.ROBOTCUK }}


- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.date.outputs.date }}
tag_name: ${{ steps.date.outputs.date }}
release_name: MaxMind Databases Weekly Update - Date ${{ steps.date.outputs.date }}
draft: false
prerelease: false
Expand Down

0 comments on commit d10566d

Please sign in to comment.