Introduction This is bold text, and this is emphasized text.
diff --git a/.genezioignore b/.genezioignore index 4fb9956..6b8710a 100644 --- a/.genezioignore +++ b/.genezioignore @@ -1,2 +1 @@ -client .git diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4bd538f..d90d16a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,12 +11,18 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + with: + submodules: true + fetch-depth: 1 - name: Setup Node.js uses: actions/setup-node@v3 - with: - node-version: 18 - uses: Genez-io/genezio-github-action@main with: token: ${{ secrets.GENEZIO_TOKEN }} + - name: Setup Hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: '0.120.4' + extended: true - name: Deploy with genezio - run: genezio deploy + run: genezio deploy --frontend diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..c6f3fce --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +title = '{{ replace .File.ContentBaseName "-" " " | title }}' +date = {{ .Date }} +draft = true ++++ diff --git a/content/posts/my-first-post.md b/content/posts/my-first-post.md new file mode 100644 index 0000000..c589347 --- /dev/null +++ b/content/posts/my-first-post.md @@ -0,0 +1,11 @@ +--- +author: "Hugo Authors" +title: "Markdown Syntax Guide" +date: "2019-03-11" +description: "Sample article showcasing basic Markdown syntax and formatting for HTML elements." +--- + +## Introduction + +This is **bold** text, and this is *emphasized* text. + diff --git a/genezio.yaml b/genezio.yaml index 754ffd5..fa97c9d 100644 --- a/genezio.yaml +++ b/genezio.yaml @@ -2,9 +2,9 @@ name: portfolio region: eu-central-1 language: ts cloudProvider: genezio -scripts: - preFrontendDeploy: npm install && npm run build -frontend: - path: ./dist - subdomain: coffee-printed-quelea packageManager: npm +script: + preFrontendDeploy: hugo --minify +frontend: + path: ./public + subdomain: orange-yappiest-swift diff --git a/hugo.yaml b/hugo.yaml new file mode 100644 index 0000000..004e057 --- /dev/null +++ b/hugo.yaml @@ -0,0 +1,4 @@ +baseURL: https://andreiaoca.com/ +languageCode: en-us +title: Andreia Ocanoaia - an engineering blog about the bolts and nits of the cloud. +theme: "PaperMod" diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..c21fe28 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,6 @@ +{ + "name": "portofolio", + "lockfileVersion": 3, + "requires": true, + "packages": {} +} diff --git a/public/404.html b/public/404.html new file mode 100644 index 0000000..d828b75 --- /dev/null +++ b/public/404.html @@ -0,0 +1,5 @@ +
Introduction This is bold text, and this is emphasized text.
Introduction This is bold text, and this is emphasized text.
This is bold text, and this is emphasized text.