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