From 7ed1d644a26f8ce2b21538bb8e5c4dd588f985d7 Mon Sep 17 00:00:00 2001 From: Carlinhos Date: Sat, 29 Jun 2024 22:37:25 -0300 Subject: [PATCH] Update and rename main.yml to deploy.yml --- .github/workflows/deploy.yml | 13 +++++++++++++ .github/workflows/main.yml | 29 ----------------------------- 2 files changed, 13 insertions(+), 29 deletions(-) create mode 100644 .github/workflows/deploy.yml delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..11de295 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,13 @@ +name: Build and Deploy + +on: + push: + branches: [main] + workflow_dispatch: + +permissions: + contents: write + +jobs: + imported: + uses: peruibeloko/shared/.github/workflows/vue.yml@main diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 65e9fd5..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Build & Deploy - -on: - push: - branches: [main] - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - - name: Setup Node - uses: actions/setup-node@v1 - with: - node-version: '15.x' - - - name: Install & Build Dependencies - run: | - npm i - npm run build - - - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@4.1.3 - with: - branch: gh-pages - folder: docs