Skip to content

Commit

Permalink
Merge pull request #26 from dc7devs/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
dc7devs authored May 16, 2024
2 parents 82a2a66 + 619cbe4 commit 18af20d
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 47 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/cd_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,32 +30,32 @@ jobs:
name: Call lint.yml
uses: dc7devs/dcdev.me/.github/workflows/lint.yml@main

# preview:
# name: Deploy to preview
# runs-on: ubuntu-latest
preview:
name: Deploy to preview
runs-on: ubuntu-latest

# steps:
# - name: Checkout
# uses: actions/checkout@v4
steps:
- name: Checkout
uses: actions/checkout@v4

# - name: Setup Node
# uses: actions/setup-node@v4
# with:
# node-version: 20.13.x
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.13.x

# - name: Install PNPM
# run: npm i -g pnpm
- name: Install PNPM
run: npm i -g pnpm

# - name: Install vercel CLI
# run: |
# pnpm install
# pnpm i --global vercel@latest
- name: Install vercel CLI
run: |
pnpm install
npm i --global vercel@latest
# - name: Pull vercel environment information
# run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
- name: Pull vercel environment information
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}

# - name: Build Project Artifacts
# run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}

# - name: Deploy project artifacts to vercel
# run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy project artifacts to vercel
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
44 changes: 22 additions & 22 deletions .github/workflows/cd_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,33 +22,33 @@ jobs:
name: Call sync-dev-branch.yml
uses: dc7devs/dcdev.me/.github/workflows/sync-dev-branch.yml@main

# deploy:
# name: Deploy to production
# runs-on: ubuntu-latest
deploy:
name: Deploy to production
runs-on: ubuntu-latest

# steps:
# - name: Checkout
# uses: actions/checkout@v4
steps:
- name: Checkout
uses: actions/checkout@v4

# - name: Setup Node
# uses: actions/setup-node@v4
# with:
# node-version: 20.13.x
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.13.x

# - name: Install PNPM
# run: npm i -g pnpm
- name: Install PNPM
run: npm i -g pnpm

# - name: Install vercel CLI
# run: |
# pnpm install
# pnpm i --global vercel@latest
- name: Install vercel CLI
run: |
pnpm install
npm i --global vercel@latest
# - name: Pull vercel environment information
# run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- name: Pull vercel environment information
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}

# - name: Build Project Artifacts
# run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}

# - name: Deploy project artifacts to vercel
# run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy project artifacts to vercel
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}

1 change: 0 additions & 1 deletion teste/teste-update-v1.txt

This file was deleted.

1 change: 0 additions & 1 deletion teste/teste-update-v2.txt

This file was deleted.

1 change: 0 additions & 1 deletion teste/teste-uupdate-v3.txt

This file was deleted.

0 comments on commit 18af20d

Please sign in to comment.