diff --git a/.github/stale.yml b/.github/stale.yml deleted file mode 100644 index 92a7744..0000000 --- a/.github/stale.yml +++ /dev/null @@ -1,12 +0,0 @@ -daysUntilStale: 60 -daysUntilClose: 7 -exemptLabels: - - pinned - - security - - enhancement -staleLabel: wontfix -markComment: > - This issue has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. Thank you - for your contributions. -closeComment: false diff --git a/.github/workflows/deploy.sh b/.github/workflows/deploy.sh deleted file mode 100755 index 3f09466..0000000 --- a/.github/workflows/deploy.sh +++ /dev/null @@ -1,99 +0,0 @@ -#!/usr/bin/env bash - -SRC_BRANCH="master" -DEPLOY_BRANCH="gh-pages" - -USAGE_MSG="usage: deploy.sh [-h|--help] [-u|--user] [-s|--src SRC_BRANCH] [-d|--deploy DEPLOY_BRANCH] [--verbose] [--no-push]" - -while [[ $# > 0 ]]; do - key="$1" - - case $key in - -h|--help) - echo $USAGE_MSG - exit 0 - ;; - -u|--user) - SRC_BRANCH="source" - DEPLOY_BRANCH="master" - ;; - -s|--src) - SRC_BRANCH="$2" - shift - ;; - -d|--deploy) - DEPLOY_BRANCH="$2" - shift - ;; - --verbose) - set -x - ;; - --no-push) - NO_PUSH="--no-push" - ;; - *) - echo "Option $1 is unknown." >&2 - echo $USAGE_MSG >&2 - exit 1 - ;; - esac - shift -done - -set -e - -echo "Deploying..." -echo "Source branch: $SRC_BRANCH" -echo "Deploy branch: $DEPLOY_BRANCH" - -read -r -p "Do you want to proceed? [y/N] " response -if [[ ! $response =~ ^([yY][eE][sS]|[yY])+$ ]] -then - echo "Aborting." - [[ "$0" = "$BASH_SOURCE" ]] && exit 1 || return 1 -fi - -if ! git diff-index --quiet HEAD --; then - echo "Changes to the following files are uncommitted:" - git diff-index --name-only HEAD -- - echo "Please commit the changes before proceeding." - echo "Aborting." - [[ "$0" = "$BASH_SOURCE" ]] && exit 1 || return 1 -fi - -if ! test -z "$(git ls-files --exclude-standard --others)"; then - echo "There are untracked files:" - git ls-files --exclude-standard --others - echo "Please commit those files or stash them before proceeding." - echo "Aborting." - [[ "$0" = "$BASH_SOURCE" ]] && exit 1 || return 1 -fi - -if [ `git branch | grep $SRC_BRANCH | tr ' ' '\n' | tail -1` ] -then - git checkout $SRC_BRANCH -else - git checkout -b $SRC_BRANCH -fi - -if [ `git branch | grep $DEPLOY_BRANCH` ] -then - git branch -D $DEPLOY_BRANCH -fi -git checkout -b $DEPLOY_BRANCH - -bundle exec jekyll build - -find . -maxdepth 1 ! -name '_site' ! -name '.git' ! -name 'CNAME' ! -name '.gitignore' -exec rm -rf {} \; -mv _site/* . -rm -R _site/ - -git add -fA -git commit --allow-empty -m "$(git log -1 --pretty=%B) [ci skip]" -[[ ${NO_PUSH} ]] || git push -f -q origin $DEPLOY_BRANCH - -git checkout $SRC_BRANCH - -echo "Deployed successfully!" - -exit 0 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index f5ee051..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: Deploy - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - workflow_dispatch: - -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Setup Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.0.2' - - name: Enable bundler cache - uses: actions/cache@v2 - with: - path: vendor/bundle - key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} - restore-keys: | - ${{ runner.os }}-gems- - - name: Install deps - run: | - gem install bundler - bundle config path vendor/bundle - bundle install --jobs 4 --retry 3 - npm install -g mermaid.cli - - name: Setup deploy options - id: setup - run: | - git config --local user.name "$(git log --format=%an | head -n 1)" - git config --local user.email "$(git log --format=%ae | head -n 1)" - if [[ ${GITHUB_REF} = refs/pull/*/merge ]]; then - echo "::set-output name=SRC_BRANCH::${GITHUB_HEAD_REF}" - echo "::set-output name=NO_PUSH::--no-push" - elif [[ ${GITHUB_REF} = refs/heads/* ]]; then - echo "::set-output name=SRC_BRANCH::${GITHUB_REF#refs/heads/}" - fi - echo "::set-output name=DEPLOY_BRANCH::gh-pages" - - name: Deploy website - run: yes | .github/workflows/deploy.sh --verbose ${{ steps.setup.outputs.NO_PUSH }} - --src ${{ steps.setup.outputs.SRC_BRANCH }} - --deploy ${{ steps.setup.outputs.DEPLOY_BRANCH }} diff --git a/.gitignore b/.gitignore index d2197bc..04eae04 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,6 @@ package-lock.json assets/css/notpurged purgecss.txt _includes/dummy.html +Dockerfile +docker-compose.yml +.conf diff --git a/CNAME b/CNAME deleted file mode 100644 index cffd260..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -slococo.com.ar \ No newline at end of file diff --git a/_pages/pgpkey.html b/_pages/pgpkey.html deleted file mode 100644 index 10b0d1f..0000000 --- a/_pages/pgpkey.html +++ /dev/null @@ -1,46 +0,0 @@ ---- -layout: none -permalink: /pgpkey ---- - ------BEGIN PGP PUBLIC KEY BLOCK----- - -mQGNBGH7P2YBDADnp6zyoSI+IoajFriFFjkLFTIgUf3MTImqRyPAhHZYtWqwUJ9Z -E5vRaWPINLvMoBCWPG+HwRonhG2rCMqdr5GhbZcDlQiSQ/zfJHaEwXN/3KJLxgv3 -fPzqEkqFJiuVNqmvQd4Lc7dluQm6OOZ68RM6w2GN+YL2MGVYBBOTuxZ/K7dYFGLI -pvzfRSbLr84fAwGC+/dSqSGn6AIOJ91zCL4D56R3j5qDJt1dsIHgkwZ4/4VpBrCA -TBmje7iR0apV2eFphWTagsxIogJTmrTdwQLMBbcKnfuBqnHGDLnlyVR8hOie/bmE -Ye7U+Fcl9YhhLoVx/rhPUDtCZURAj+3gilmVmL4jikuiSUGJ0rhxRUxfMAYGNQdA -oEkfYbv5m5brKGhaxeqvH8KdEb1TfE0Qe4IT4KuKmUnZrG/kZcfU1FyPE0tJyyzX -rBv8rTMSSAXZvLCj4zKy1ICkZEKna2r7WZRiwDZJ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xZb5Zods5Q08CK15TokzWXcb2+FBvef69kwtWPiTEdPYplEi -4MeDGL8THIU+8d06CjCjBGCRfT2/KSBP0eVx9Jl+Fo7Df9y6+lIawJc0V/fr4/u8 -9eFDvtw9v2bqWJrVHtoQ9wP2TJr3Cybphnw42DBr+Bms0RIo4hlQj0Ve1gGzBZMP -waPI8O6/jxuHsKGs054JABEBAAGJAbwEGAEIACYWIQRQwfzrhJQd1OMvptAZmYDO -k/GOYgUCYfs/ZgIbDAUJA8JnAAAKCRAZmYDOk/GOYi/MDACeLCkcV/Ha8rpWZfnF -En0aGQWBilI2DOGurW4+uLIEzfXRrUNMVnTuxHDWxJu+r35OTkoTW/+r6xT5kZQt -6yEbEtD9EqgV7mozsoqoaA+fCcBZPOdNDn3R9sMzsjVhmtGmiKGV4BMlLLnYCe1J -YUSLTOm1+GPOQiOcvJ0cxHYFvdkFeKpKDC0DO1hh+HunYhUm8dGKu4IkyTO82UaY -arqstPHMZ3RJxQj3yn5D5z2iJwzEo3cU5PUXr7xt4vHON8mIUag6Y2j6KoCgyBeT -hjjwLaDFfDVC0cw6Kh0xqWipY6tX18+DCaLwBGaQE0R8nwCe5MF/09erOhzo4eEv -YAMs71pVENX64qySGPdha7wGcr1WOe7TXNyq245XyMEENgvyqdL2bhOveKdmsD9B -FPBeI6P2ABKAz3oIURqb/ou8h6d0TUuQR0qg9S0MQEMCx/Z3xEPGmQYjyN7dExEe -79Xa9Yhx0cdNZF0GtwBoAh8oMftiblBX4Aj7j8uHn8ifv84= -=Ivgq ------END PGP PUBLIC KEY BLOCK----- diff --git a/default.conf b/default.conf new file mode 100644 index 0000000..baed721 --- /dev/null +++ b/default.conf @@ -0,0 +1,13 @@ +# my.conf +server { + listen 80; + server_name _; + + location / { + root /srv; + try_files $uri $uri/ /index.html?$args; + # Uncomment this if you want to return 404 on bad uri + #try_files $uri $uri/ =404; + } +} +