Upload to bunny #5
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 to bunny | |
on: | |
workflow_dispatch: | |
jobs: | |
upload: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: [1.22.3] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: List Directory Contents | |
run: ls | |
- name: Change Directory and Run Go File | |
run: | | |
cd upload | |
ls | |
go run main.go ${{ secrets.STORAGE_PASSWORD }} ${{ secrets.STORAGE_NAME }} | |