diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..32b49652 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,5 @@ +https://github.com/srbaeza-ai/documentation.git{ + "image": "mcr.microsoft.com/devcontainers/universal:2", + "features": { + } +} diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml new file mode 100644 index 00000000..07d4431c --- /dev/null +++ b/.github/workflows/jekyll-gh-pages.yml @@ -0,0 +1,51 @@ +dce7417cb862d730044e8f1498aa2ea48e493593# Sample workflow for building and deploying a Jekyll site to GitHub Pages +name: Deploy Jekyll with GitHub Pages dependencies preinstalled + +on: + # Runs on pushes targeting the default branch + push: + branches: ["master"] + + # 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: + # Build job + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Pages + uses: actions/configure-pages@v3 + - name: Build with Jekyll + uses: actions/jekyll-build-pages@v1 + with: + source: ./ + destination: ./_site + - name: Upload artifact + uses: actions/upload-pages-artifact@v2 + + # Deployment job + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2 diff --git a/.github/workflows/laravel.yml b/.github/workflows/laravel.yml new file mode 100644 index 00000000..d44ad8f3 --- /dev/null +++ b/.github/workflows/laravel.yml @@ -0,0 +1,35 @@ +name: Laravel +[![Laravel](https://github.com/srbaeza-ai/documentation/actions/workflows/laravel.yml/badge.svg?branch=srbaeza-ai-patch-1)](https://github.com/srbaeza-ai/documentation/actions/workflows/laravel.yml) +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + laravel-tests: + + runs-on: ubuntu-latest + + steps: + - uses: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e + with: + php-version: '8.0' + - uses: actions/checkout@v3 + - name: Copy .env + run: php -r "file_exists('.env') || copy('.env.example', '.env');" + - name: Install Dependencies + run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist + - name: Generate key + run: php artisan key:generate + - name: Directory Permissions + run: chmod -R 777 storage bootstrap/cache + - name: Create Database + run: | + mkdir -p database + touch database/database.sqlite + - name: Execute tests (Unit and Feature tests) via PHPUnit + env: + DB_CONNECTION: sqlite + DB_DATABASE: database/database.sqlite + run: vendor/bin/phpunit diff --git a/README.md b/README.md index bb2eb0c2..3453f8a7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -#### This documentation project is DEPRECATED, if you want to update or add a new documentation, please go to our new documentation project: -- [documentation-en](https://github.com/tronprotocol/documentation-en) -- [documentation-zh](https://github.com/tronprotocol/documentation-zh) +https://github.com/CVEProject/cvelistV5/actions/runs/6241198539#### This documentation project is DEPRECATED, if you want to update or add a new documentation, please go to our new documentation project: +- [documentation-en](https://github.com/tronprotocol/documentation-en) (https://github.com/tronprotocol/documentation-en +-github.com/tronprotocol/documentation-en [documentation-zh](https://github.com/tronprotocol/documentation-zh) diff --git "a/\344\270\255\346\226\207\346\226\207\346\241\243/\346\263\242\345\234\272\347\274\226\347\250\213\345\244\247\350\265\233/\347\254\254\344\270\200\345\261\212\346\263\242\345\234\272\347\274\226\347\250\213\345\244\247\350\265\233.md" "b/\344\270\255\346\226\207\346\226\207\346\241\243/\346\263\242\345\234\272\347\274\226\347\250\213\345\244\247\350\265\233/\347\254\254\344\270\200\345\261\212\346\263\242\345\234\272\347\274\226\347\250\213\345\244\247\350\265\233.md" index e95c92d0..183b1a8c 100644 --- "a/\344\270\255\346\226\207\346\226\207\346\241\243/\346\263\242\345\234\272\347\274\226\347\250\213\345\244\247\350\265\233/\347\254\254\344\270\200\345\261\212\346\263\242\345\234\272\347\274\226\347\250\213\345\244\247\350\265\233.md" +++ "b/\344\270\255\346\226\207\346\226\207\346\241\243/\346\263\242\345\234\272\347\274\226\347\250\213\345\244\247\350\265\233/\347\254\254\344\270\200\345\261\212\346\263\242\345\234\272\347\274\226\347\250\213\345\244\247\350\265\233.md" @@ -70,7 +70,7 @@ 陈志强Lucien Chen:波场CTO -赵宏Marcus Zhao:波场技术总监 +Marcus:波场技术总监 ## 参与方式