diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b87f24f..9b55c9d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,15 +17,15 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Set up Go - uses: actions/setup-go@v5 + - name: Deploy to BunnyCDN + uses: ayeressian/bunnycdn-storage-deploy@v2.2.4 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 }}