diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 17ab0e1..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,16 +0,0 @@ -on: - push: - branches: - master - -jobs: - deploy: - name: Deploy site - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: cloudflare/wrangler-action@v3 - with: - apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} - accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - command: pages deploy --project-name=profile-page . diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b598bb3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.pnp.* +.yarn/* diff --git a/.yarnrc.yml b/.yarnrc.yml new file mode 100644 index 0000000..5c85484 --- /dev/null +++ b/.yarnrc.yml @@ -0,0 +1,5 @@ +nodeLinker: pnpm +enableGlobalCache: false +enableMirror: false +globalFolder: .yarn/berry +yarnPath: .yarn/releases/yarn-4.5.0.cjs diff --git a/package.json b/package.json new file mode 100644 index 0000000..9475528 --- /dev/null +++ b/package.json @@ -0,0 +1,7 @@ +{ + "private": true, + "packageManager": "yarn@4.5.0", + "scripts": { + "deploy": "yarn dlx wrangler pages deploy --project-name profile-page ." + } +} diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 0000000..11cbfd1 --- /dev/null +++ b/yarn.lock @@ -0,0 +1,12 @@ +# This file is generated by running "yarn install" inside your project. +# Manual changes might be lost - proceed with caution! + +__metadata: + version: 8 + cacheKey: 10c0 + +"root-workspace-0b6124@workspace:.": + version: 0.0.0-use.local + resolution: "root-workspace-0b6124@workspace:." + languageName: unknown + linkType: soft