Skip to content
This repository has been archived by the owner on Sep 11, 2021. It is now read-only.

Commit

Permalink
Chore: update workflow due to refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Loyalsoldier committed Apr 12, 2021
1 parent 7b23586 commit 66dd89d
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Crawl blocked domains from Greatfire Analyzer
name: Crawl blocked domains and ips from Greatfire Analyzer
on:
workflow_dispatch:
schedule:
Expand All @@ -10,7 +10,7 @@ jobs:
- name: Setup Go 1.x.y
uses: actions/setup-go@v2
with:
go-version: "^1.15.3"
go-version: ^1.16.3

- name: Set variables
run: |
Expand All @@ -23,14 +23,8 @@ jobs:

- name: Get project dependencies & run
run: |
go mod download
go run ./
- name: Move file to publish directory
run: |
mkdir -p ./publish
install -p domains.txt raw.txt ./publish/
- name: Release and upload assets
uses: softprops/action-gh-release@v1
with:
Expand All @@ -45,7 +39,7 @@ jobs:

- name: Git push assets to "release" branch
run: |
cd publish
cd publish || exit 1
git init
git config --local user.name "github-actions[bot]"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
Expand Down

0 comments on commit 66dd89d

Please sign in to comment.