From 7355cf7d32b562a0f2f04eeecfbbfd0a233b0a1d Mon Sep 17 00:00:00 2001 From: Enzo Notario Date: Wed, 8 Nov 2023 20:35:20 -0300 Subject: [PATCH] Initial commit --- .github/workflows/deploy.yml | 29 ++++++++++++++++++++++++ .github/workflows/static.yml | 43 ++++++++++++++++++++++++++++++++++++ .gitignore | 1 + 404.html | 14 ++++++++++++ README.md | 1 + index.html | 8 +++++++ 6 files changed, 96 insertions(+) create mode 100644 .github/workflows/deploy.yml create mode 100644 .github/workflows/static.yml create mode 100644 .gitignore create mode 100644 404.html create mode 100644 README.md create mode 100644 index.html diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..e39499b --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,29 @@ +name: Deploy to GitHub Pages + +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Deploy to GitHub Pages + uses: JamesIves/github-pages-deploy-action@4.1.1 + with: + branch: gh-pages + folder: src/.vitepress/dist + clean: true + token: ${{ secrets.GITHUB_TOKEN }} + enable_jekyll: true + jekyll_config: _config.yml + commit_message: Deployed to GitHub Pages + commit_user_name: GitHub Actions + commit_user_email: + diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml new file mode 100644 index 0000000..6ee98fb --- /dev/null +++ b/.github/workflows/static.yml @@ -0,0 +1,43 @@ +# Simple workflow for deploying static content to GitHub Pages +name: Deploy static content to Pages + +on: + # Runs on pushes targeting the default branch + push: + branches: ["main"] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + # Single deploy job since we're just deploying + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Pages + uses: actions/configure-pages@v3 + - name: Upload artifact + uses: actions/upload-pages-artifact@v2 + with: + # Upload entire repository + path: '.' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..485dee6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea diff --git a/404.html b/404.html new file mode 100644 index 0000000..8fcb3eb --- /dev/null +++ b/404.html @@ -0,0 +1,14 @@ + + + + + + +Redirigiendo a https://es.js.org + + diff --git a/README.md b/README.md new file mode 100644 index 0000000..09fc82c --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# dev \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..4b4dadf --- /dev/null +++ b/index.html @@ -0,0 +1,8 @@ + + + + + + + +