diff --git a/.github/workflows/deploy-site.yaml b/.github/workflows/deploy-site.yaml index 141fe3d..3328f1d 100644 --- a/.github/workflows/deploy-site.yaml +++ b/.github/workflows/deploy-site.yaml @@ -41,6 +41,11 @@ jobs: repository: publicsuffix/list path: list + - name: Add VERSION and COMMIT to public_suffix_list.dat + working-directory: list/ + run: |- + awk -v commithash="$(git rev-parse HEAD)" -v date="$(date -u +'%Y-%m-%d_%H-%M-%S_%Z')" 'NR==8{print "// VERSION: "date; print "// COMMIT: "commithash; print ""} { print }' public_suffix_list.dat > newlist.dat && mv newlist.dat public_suffix_list.dat + - name: Authenticate with GCP uses: google-github-actions/auth@v0 with: