Update deploy.yml

This commit is contained in:
NOCanoa 2024-12-11 18:51:35 +00:00 committed by GitHub
parent d210be26fd
commit 8ad350091c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,15 +17,15 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up Go - name: Deploy to BunnyCDN
uses: actions/setup-go@v5 uses: ayeressian/bunnycdn-storage-deploy@v2.2.4
with: with:
go-version: ${{ matrix.go-version }} source: ""
destination: ""
storageZoneName: "${{ secrets.STORAGE_NAME }}"
storagePassword: "${{ secrets.STORAGE_PASSWORD }}"
upload: "true"
remove: "false"
purgePullZone: "false"
- name: List Directory Contents
run: ls
- name: Change Directory and Run Go File
run: |
cd upload
go run main.go ${{ secrets.STORAGE_PASSWORD }} ${{ secrets.STORAGE_NAME }}