Skip to content

Commit

Permalink
convert from gist into ga artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
fmenezes committed Feb 13, 2024
1 parent 66fedf5 commit 5cea452
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name: Run Updates
on:
push:
branches:
- master
# branches:
# - master
schedule:
- cron: "0 16 * * 1-5"
permissions:
Expand Down Expand Up @@ -33,7 +33,13 @@ jobs:
shell: powershell
env:
au_Push: true
gist_id: 401de57398b774a70ad4dc5d46aab760
github_user_repo: ${{ env.GITHUB_REPOSITORY }}
github_api_key: ${{ secrets.GH_TOKEN_WITH_GIST }}
github_api_key: ${{ secrets.GITHUB_TOKEN }}
api_key: ${{ secrets.CHOCO_API_KEY }}
- uses: actions/upload-artifact@v4
with:
name: run
path: |
update_info.xml
Update-AUPackages.md
Update-History.md
6 changes: 0 additions & 6 deletions update_all.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ $Options = [ordered]@{
Path = "$PSScriptRoot\Update-History.md" #Path where to save history
}

Gist = @{
Id = $Env:gist_id #Your gist id; leave empty for new private or anonymous gist
ApiKey = $Env:github_api_key #Your github api key - if empty anoymous gist is created
Path = "$PSScriptRoot\Update-AUPackages.md", "$PSScriptRoot\Update-History.md" #List of files to add to the gist
}

Git = @{
User = '' #Git username, leave empty if github api key is used
Password = $Env:github_api_key #Password if username is not empty, otherwise api key
Expand Down

0 comments on commit 5cea452

Please sign in to comment.