This repository has been archived by the owner on Jul 5, 2024. It is now read-only.
chore: upload repo info #20
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Upload file | |
on: | |
pull_request: | |
branches: [main] | |
# push: | |
# branches: | |
# - main | |
permissions: | |
pages: write | |
jobs: | |
upload: | |
name: Build And Upload | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup git user | |
run: | | |
git config --global user.name "github-actions[bot]" | |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
- name: Upload Json File | |
run: node scripts/upload.js ${{ secrets.GITHUB_TOKEN }} |