From bfd0380a58d54ce4cbb56583e70e609d2f72015c Mon Sep 17 00:00:00 2001 From: Allison Tielking Date: Thu, 2 Mar 2023 21:49:10 -0500 Subject: [PATCH 1/3] hi From df773362b463bab18792ebf0ffa83a3e94e4e41f Mon Sep 17 00:00:00 2001 From: Allison Tielking Date: Thu, 2 Mar 2023 21:57:40 -0500 Subject: [PATCH 2/3] try this --- .github/workflows/pipeline.yml | 48 ++++++++++++++++++++++++++ client/components/App 2.js | 12 +++++++ client/components/Footer 2.js | 10 ++++++ client/components/FrontPage/index 2.js | 10 ++++++ client/components/NavBar 2.js | 10 ++++++ client/util/common 2.js | 11 ++++++ config/common 2.js | 9 +++++ server/util/common 2.js | 8 +++++ server/util/routes 2.js | 10 ++++++ 9 files changed, 128 insertions(+) create mode 100644 .github/workflows/pipeline.yml create mode 100644 client/components/App 2.js create mode 100644 client/components/Footer 2.js create mode 100644 client/components/FrontPage/index 2.js create mode 100644 client/components/NavBar 2.js create mode 100644 client/util/common 2.js create mode 100644 config/common 2.js create mode 100644 server/util/common 2.js create mode 100644 server/util/routes 2.js diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml new file mode 100644 index 0000000..d29f200 --- /dev/null +++ b/.github/workflows/pipeline.yml @@ -0,0 +1,48 @@ +name: Deployment pipeline + +on: + push: + branches: + - master + pull_request: + branches: [master] + types: [opened, synchronize] + +jobs: + deployment_prep: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v2 + with: + node-version: '16' + - name: npm install + run: npm install + - name: lint + run: npm run lint + - name: build + run: npm run build + deploy: + name: Deploy app + needs: [deployment_prep] + runs-on: ubuntu-latest + if: ${{ github.event_name == 'push' && !contains(join(github.event.commits.*.message, ''), '#skip + steps: + - uses: actions/checkout@v3 + - uses: superfly/flyctl-actions/setup-flyctl@master + - run: flyctl deploy --remote-only + env: + FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} + tag_release: + needs: [deploy] + permissions: write-all + runs-on: ubuntu-latest + if: ${{ github.event_name == 'push' && !contains(join(github.event.commits.*.message, ''), '#skip + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: '0' + - name: Bump version and push tag + uses: anothrNick/github-tag-action@eca2b69f9e2c24be7decccd0f15fdb1ea5906598 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/client/components/App 2.js b/client/components/App 2.js new file mode 100644 index 0000000..3e51fa7 --- /dev/null +++ b/client/components/App 2.js @@ -0,0 +1,12 @@ +import React from 'react' +import NavBar from 'Components/NavBar' +import Footer from 'Components/Footer' +import Router from 'Components/Router' + +export default () => ( + <> + + +