From fe29ee2223ccd5ce5bd8ace0edba723c4699d399 Mon Sep 17 00:00:00 2001 From: saullary <86224849+saullary@users.noreply.github.com> Date: Fri, 23 Dec 2022 15:35:35 +0800 Subject: [PATCH] Create pin-bucket.yml --- .github/workflows/pin-bucket.yml | 41 ++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/pin-bucket.yml diff --git a/.github/workflows/pin-bucket.yml b/.github/workflows/pin-bucket.yml new file mode 100644 index 0000000..94e9baa --- /dev/null +++ b/.github/workflows/pin-bucket.yml @@ -0,0 +1,41 @@ +# This is a basic workflow to help you get started with Actions + +name: Pin + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "main" branch + push: + branches: ["main"] + pull_request: + branches: ["main"] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + +# - name: install dependencies && build your project +# run: npm install && npm run build +# shell: bash + + - name: pinBucket + id: pinBucket + uses: 4everland/pin-bucket-action@v1.3 + with: + EVER_API_KEY: ${{secrets.EVER_API_KEY}} + EVER_API_SECRET: ${{secrets.EVER_API_SECRET}} + EVER_BUCKET_NAME: "" + EVER_BUCKET_FOLDER: "" + LOCAL_PATH: "./images,./metadata" +